// 删除
const removeAction = (index) => {
    return {
      type: 'REMOVE_DATA',
      index
    }
  }
//   添加
  const adddataAction = title => {
    return {
      type: 'PUT_DATA',
      title
    }
  }
//   改变状态
const  ChangeAction=(id)=>{
    return{
        type: 'Change_DATA',
        id,
    }
}

  export {
    removeAction,
    adddataAction,
    ChangeAction,
   
  }